package com.taptech.doufu.bean.cp;

import com.taptech.doufu.bean.MineAbstractBean;
import com.taptech.doufu.bean.personalcenter.SweepFlowerBean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2015/7/9.
 */
public class CpBean extends MineAbstractBean
{
    private String at_home;
    private String class_id;
    private String count;
    private String id;
    private String is_recommend;
    private String is_recommend_recommend;
    private String name;
    private String pattern;
    private String update_time;

    private String parent_id;
    private String type_id;
    private String icon;
    private String following;
    private String following_count;
    private String flower_count;
    private String trend;
    private String object_type;
    private SweepFlowerBean[] users;
    private String rank;

    public String getRank()
    {
        return rank;
    }

    public void setRank(String rank)
    {
        this.rank = rank;
    }

    public String getTrend()
    {
        return trend;
    }

    public void setTrend(String trend)
    {
        this.trend = trend;
    }

    public String getObject_type()
    {
        return object_type;
    }

    public void setObject_type(String object_type)
    {
        this.object_type = object_type;
    }

    public List<SweepFlowerBean> getUsers()
    {
        if (users != null && users.length > 0)
        {
            List<SweepFlowerBean> list = new ArrayList<SweepFlowerBean>();
            for (int i = 0; i < users.length; i++)
            {
                list.add(users[i]);
            }
            return list;
        }
        return null;
    }

    public void setUsers(SweepFlowerBean[] users)
    {
        this.users = users;
    }

    public String getFlower_count()
    {
        return flower_count;
    }

    public void setFlower_count(String flower_count)
    {
        this.flower_count = flower_count;
    }

    public String getFollowing()
    {
        return following;
    }

    public void setFollowing(String following)
    {
        this.following = following;
    }

    public String getIcon()
    {
        return icon;
    }

    public void setIcon(String icon)
    {
        this.icon = icon;
    }

    public String getFollowing_count()
    {
        return following_count;
    }

    public void setFollowing_count(String following_count)
    {
        this.following_count = following_count;
    }

    public String getParent_id()
    {
        return parent_id;
    }

    public void setParent_id(String parent_id)
    {
        this.parent_id = parent_id;
    }

    public String getType_id()
    {
        return type_id;
    }

    public void setType_id(String type_id)
    {
        this.type_id = type_id;
    }

    public String getAt_home()
    {
        return at_home;
    }

    public void setAt_home(String at_home)
    {
        this.at_home = at_home;
    }

    public String getClass_id()
    {
        return class_id;
    }

    public void setClass_id(String class_id)
    {
        this.class_id = class_id;
    }

    public String getCount()
    {
        return count;
    }

    public void setCount(String count)
    {
        this.count = count;
    }

    public String getId()
    {
        return id;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getIs_recommend()
    {
        return is_recommend;
    }

    public void setIs_recommend(String is_recommend)
    {
        this.is_recommend = is_recommend;
    }

    public String getIs_recommend_recommend()
    {
        return is_recommend_recommend;
    }

    public void setIs_recommend_recommend(String is_recommend_recommend)
    {
        this.is_recommend_recommend = is_recommend_recommend;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getPattern()
    {
        return pattern;
    }

    public void setPattern(String pattern)
    {
        this.pattern = pattern;
    }

    public String getUpdate_time()
    {
        return update_time;
    }

    public void setUpdate_time(String update_time)
    {
        this.update_time = update_time;
    }
}
